// Copyright  2012 Petr TALLA. [petr.talla@gmail.com]
// This file is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//
// This file is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY;  without even the implied warranty
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
// [http://www.gnu.org/copyleft/lesser.html]
//=============================================================================

package tc.common.utility;

import java.awt.geom.Point2D;

public class TcDisplayTransf {
	public Point2D.Double center; //model units
	public double scaleX;
	public double scaleY;
	public double ppm; //pixels per meter of papper
	public double width; //papper units
	public double height; //papepr units
	
	public TcDisplayTransf ( Point2D.Double center, double scale ) {
		this.center = center;
		this.scaleX = scale;
		this.scaleY = scale;
		this.ppm    = 4000.0;
		this.width  = 900;
		this.height = 600;
	}
}
